package com.liuyi.netty.mqtt.configution;


public class BrokerConfig {

    /**
     * 任务核心保持线程数量
     */
    private int taskCorePoolSize = 8;

    /**
     * 任务线程池最大线程数量
     */
    private int taskMaxPoolSize = 16;

    public int getTaskCorePoolSize() {
        return taskCorePoolSize;
    }

    public int getTaskMaxPoolSize() {
        return taskMaxPoolSize;
    }

    public void setTaskCorePoolSize(int taskCorePoolSize) {
        this.taskCorePoolSize = taskCorePoolSize;
    }

    public void setTaskMaxPoolSize(int taskMaxPoolSize) {
        this.taskMaxPoolSize = taskMaxPoolSize;
    }
}
